package com.ddstation.onsitelaw.service;

import com.ddstation.onsitelaw.entity.DtInvsManageInstitutionEntity;
import com.ddstation.onsitelaw.entity.DtInvsManageInstitutionSupervisorEntity;

import java.util.List;

/**
 * @author 忆秋枫
 */
public interface DtInvsManageInstitutionService {

    /**
     * 根据id获取信息
     *
     * @param id
     * @return DtInvsManageInstitutionEntity 对象信息
     */
    DtInvsManageInstitutionEntity selectById(String id);

    /**
     * 根据地区code获取信息
     *
     * @param province 省
     * @param city     市
     * @param county   县/区
     * @return List<DtInvsManageInstitutionEntity> 对象信息
     */
    List<DtInvsManageInstitutionEntity> selectByAddress(String province, String city, String county);

    /**
     * 微信用户
     *
     * @param wxUserId
     * @return
     */
    DtInvsManageInstitutionSupervisorEntity selectByWxUserId(int wxUserId);


    /**
     * 绑定微信用户
     *
     * @param supervisorId
     * @param wxUserId
     */
    void updateWxUserId(int supervisorId, int wxUserId);
}